cmake_minimum_required(VERSION 3.9)
project(OpenCVTest)

set(CMAKE_CXX_STANDARD 11)

#include_directories(/home/sundae/opencv-3.3.0/include)
#include_directories(/home/sundae/opencv-3.3.0/include/opencv)
#include_directories(/home/sundae/opencv-3.3.0/include/opencv2)
#
#set(OpenCV_DIR /home/sundae/opencv-3.3.0/release)

find_package(OpenCV REQUIRED)

add_executable(OpenCVTest main.cpp main.h)

target_link_libraries(OpenCVTest ${OpenCV_LIBS})

#cmake_minimum_required(VERSION 3.9)
#project(OpenCVTest)
#
#set(CMAKE_CXX_STANDARD 11)
#
#add_executable(OpenCVTest main.cpp)
#find_package(OpenCV REQUIRED)
#target_link_libraries(OpenCVTest ${OpenCV_LIBS})